﻿
CREATE PROCEDURE [dbo].[proc_Customer_Auditlog_GetList_Top]
	(
		@UserName nvarchar(50)
	)
AS
	Select top 5 Id,CustomerId,isnull(CustomerName,'') as CustomerName,AuditDate
	From Customer_AuditLog
	Where (SalesName=@UserName Or AuditUser=@UserName)
	Order By AuditDate Desc